package com.qfmy.web.app.mapper.common;

import com.qfmy.model.entity.novel.HotSearchRank;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 清风明月
 * @Package com.qfmy.web.app.mapper.novel
 * @date 2025/11/02
 * @description 热搜
 */
@Mapper
public interface HotSearchRankMapper {


    /**
     * 获取热搜
     * @return
     */
    List<String> getHotSearchRank();

    /**
     * 批量更新
     * @param topList
     */
    void batchUpdate(@Param("list") List<HotSearchRank> topList);

}
